#include <stdio.h>
#include <stdlib.h>
int my_compare(const void *e1, const void* e2)
{
    printf("%d\n",(*(int*)e2 - *(int*)e1));
    return *(int*)e1 - *(int*)e2;
}
int main()
{
    int arr[] = {11,2,33,4,5,61,7,8};
    int sz = sizeof(arr) / sizeof(arr[0]);
    qsort(arr,sz, sizeof(arr[0]),my_compare);
    int i = 0;
    for(i = 0; i<sz; i++)
    {
        printf("%d ", arr[i]);
    }
    return 0;
}

